package com.groupseven.happycampus.mapper;

import com.groupseven.happycampus.common.pojo.Consumer;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ConsumerMapper {
    List<Consumer> consumerInformationPageDate(Map<String, Object> params);

    int addConsumer(Consumer consumer);

    int updateConsumerInformation(Consumer consumer);

    int deleteConsumer(Integer id);

    int deletesConsumer(@Param("ids") String[] arrId);
}
